package com.oocl.crm.service;

import com.oocl.crm.command.Command;
import com.oocl.crm.exception.ParameterErrorException;

/**
 * BusinessService 接口
 * @author GANAB
 *
 */
public interface IBusinessService <R, T extends Command>{
	/**
	 * 处理业务 
	 * @param params
	 * @return
	 * @throws ParameterErrorException
	 */
	public R service(T command) throws ParameterErrorException;
}
